package com.xugongzhang.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author X
 * @date 2022/6/9 0:56
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {

    @Override
    public String paymentOk(Integer id) {
        return "PaymentFallbackService 哈哈 /(ㄒoㄒ)/~~";
    }

    @Override
    public String paymentTimeout(Integer id) {
        return "PaymentFallbackService 超时 /(ㄒoㄒ)/~~";
    }
}
